HS_RVS_CLAMP_DETECT

HS_RVS_CLAMP_DETECT

   
SYNTAX:

        HS_RVS_CLAMP_DETECT(RVS_NO [, MARK_NO=x] [, CLEAR_CONT/CONT_NEXT/PTN_FORCE_STOP/PATTERN_END] [, LOG_OFF] [, BinNo=x] [, LOG_ALIAS=name] [, LOG_UNIT=unit] [, LOG_SITE=x] [, USER_MONITOR/USER_MON_ONLY]  [, IGNORE_FAIL]);

DESCRIPTION:

        Detect RVS clamp status and return value on datalog. User can utilize "MARK_NO" to control the test flow.

        Return 0: Until currently clamp detect instruction, selected RVS didn't occur clamp.

        Return 1: Until currently clamp detect instruction, selected RVS had occurred clamp or occurring clamp now.

        NOTE: After clamp detection, the clamp detect value won't be returned to zero by system. User must set "HS_CLEAR_CLAMP_DETECT" to clear the clamp detect value of all HS resources. After that, clamp detect value will be returned to zero.

REQUIRED ARGUMENT:

        PARA1: RVS_NO

            HS_RVS33~48,HS_RVS65~80,HS_RVS97~112 or power_source_name(string) that has been defined in the PRJ file. Or _C_Variable

            Option: expand for 128RVS

            HS_RVS_EXT65~80,HS_RVS_EXT129~144,HS_RVS_EXT193~208,HS_RVS161~176,HS_RVS_EXT321~336

OPTIONAL ARGUMENT: 

       PARA: MARK_NO=x

            When selected RVS occurred clamp, MARK_NO will be set.

             x: a integer from 1 to 199

       PARA: CLEAR_CONT/CONT_NEXT/PTN_FORCE_STOP/PATTERN_END: 

            CLEAR_CONT: clear the continued running of pattern. Then, pattern and main program will go on simultaneously.

            CONT_NEXT: clear the continued running of pattern and wait for pattern executing to the next MI "CONT" vector or pattern end. 

                                      Then, main program will go on.

            PTN_FORCE_STOP: doesn't clear the continued running of pattern but break the running pattern forcibly.

            PATTERN_END: clear the continued running of pattern and wait for executing to the pattern end. Then, main program will go on.

             Default: NONE

        PARA: LOG_OFF

            Set measured value not log to datalog windows, even it is set to be on in engineering set.

            Default: Depend on engineering setting.

        PARA: BinNo=x  

            x: a integer from 1 to 2048; While test result is fail at this driver, system classify the device to bin x.

        PARA: LOG_ALIAS=name

            name: a string; EX: LOG_ALIAS=ABC. The setting name will show in the .csv file and user monitor.

        PARA: LOG_UNIT=unit

            unit: a string; EX: V, mV ......., This setting will show after the alias name.

            Parameter can be set to LOG_UNIT=unit[.X] , this function can set the significant digits of fractional portion which will be shown in the .csv file.

            X: The number of significant digits of fractional portion.

        PARA: LOG_SITE=x

            x: site number from 1 to 64. User set the site number that needed to log to file or user monitor. EX: LOG_SITE=[1,3-5,8], 

            Default: Log all site.

        PARA: USER_MONITOR/USER_MON_ONLY

           USER_MONITOR: Log measured value to user monitor.

           USER_MON_ONLY: Only show measured value in monitor without producing C.S.V file and STDF file.

        PARA: IGNORE_FAIL

            This argument is identical to the function "Dc Ignore Fail=On" on engineer setting menu. It ignore the detect result, and go to next driver.

            Default: OFF.

EXAMPLE:

        HS_FORCE_RVS(HS_RVS33, FORCE_V, 0.0V, 40UA, E1, I2);

        WAIT(1MS);

        HS_CLOSE_RVS_OUTPUT_RELAY(HS_RVS33, WAIT=3mS, ON);

        WAIT(1MS);

        HS_FORCE_RVS(HS_RVS33, FORCE_V, 3.0V, 40UA, E1, I2);

        WAIT(1MS);

        HS_RVS_CLAMP_DETECT(HS_RVS33, MARK_NO=10); //When selected RVS occurred clamp, MARK_NO set to be 10.